<style lang="scss" src="./index.scss" scoped></style>
<template>
    <div class="ex-card-box">
        <div class="ex-card__label">
            <slot name="label">{{label}}</slot>
        </div>
        <div class="ex-card__body">
            <slot></slot>
        </div>
    </div>
</template>

<script lang="ts">
import { Component, Vue, Prop } from "vue-property-decorator";

@Component
export default class ExCard extends Vue {
    @Prop({
        type: String,
        default: ""
    })
    readonly label!: string;
}
</script>
